package cn.rxls.community.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 预约(Booking)表实体类
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("booking")
public class Booking {
    @TableId(type = IdType.ASSIGN_ID)
    //主键id    
    private Long bookingId;
    //所属用户id
    private Long bookingUser;
    //联系电话
    private String bookingPhone;
    //预约时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private Date bookingTime;
    //预约状态
    private Integer bookingState;
    //称呼
    private String bookingCall;
    //地点
    private String  bookingAddress;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
}
